package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

public interface IUserDao {

    //查询所有用户
    public List<User> findAll() throws Exception;

    //根据条件查询用户
    public User findByCondition(User user) throws Exception;

    public Integer updateUser(User user);

    public Integer deleteById(Integer id);

}
